#include "Box2DModel.h"

namespace devii
{

Box2DModel::Box2DModel()
{
}


Box2DModel::~Box2DModel()
{
}

bool Box2DModel::init(TextureEffect* const effect)
{
	this->effect = effect;

	return false;
}

void Box2DModel::prepare(const matrix& view_proj)
{
	// create the worldmatrix
	createWorld();
	
	// Prepare the effect, setting some values down to the gpu as well as compiled shaders
	effect->prepare(texture, world, view_proj, position, scale, rotation);
	

}

}